//
//  GameOverScene.h
//  atest
//
//  Created by George Hu on 12-8-14.
//
//

#ifndef __atest__GameOverScene__
#define __atest__GameOverScene__

#include "cocos2d.h"

class GameOverLayer: public cocos2d::CCLayerColor
{
public:
    GameOverLayer():_label(NULL) {};
    virtual ~GameOverLayer();
    bool init();
    LAYER_NODE_FUNC(GameOverLayer);
    
    void gameOverDone();
    CC_SYNTHESIZE_READONLY(cocos2d::CCLabelTTF*, _label,Label);
};

class GameOverScene:public cocos2d::CCScene
{
public:
    GameOverScene():_layer(NULL){};
    ~GameOverScene();
    bool init();
    SCENE_NODE_FUNC(GameOverScene);
    
    CC_SYNTHESIZE_READONLY(GameOverLayer*, _layer, _Layer);
};


    
#endif /* defined(__atest__GameOverScene__) */
